import Vue from 'vue'
import App from './App.vue'
import './plugins/element.js'
import router from './router'
import store from './store'
import loading from '/src/components/Loading'
window.eventBus = new Vue()
import vueMiniPlayer from 'vue-mini-player'
import 'vue-mini-player/lib/vue-mini-player.css'
import EleForm from 'vue-ele-form'
import 'jquery'
// import EleFormGallery from 'vue-ele-form-upload-file'
// Vue.component('gallery', EleFormGallery)
Vue.use(loading,vueMiniPlayer,EleForm);
Vue.config.productionTip = false
// 引入axios
import axios from 'axios'

Vue.prototype.$axios = axios
axios.defaults.baseURL = '/webhooks' // 一定要设置 axios.defaults.baseURL 为proxy中的转发头
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
